﻿using GreenXi.Help.UI;
using System.Windows;
using System.Windows.Input;

namespace GreenXi.Pages.index
{
    /// <summary>
    /// ChangeUserDialog.xaml 的交互逻辑
    /// </summary>
    public partial class ChangeUserDialog : Window
    {
        public ChangeUserDialog(string message)
        {
            InitializeComponent();
            MessageTextBlock.Text = message;
           
        }
        public ChangeUserDialog()
        {
            InitializeComponent();
            MessageTextBlock.Text = "请输入该账户的密码";
            pwd.Focus();
        }

        private void OkButton_Click(object sender, RoutedEventArgs e)
        {
            DialogResult = true;
        }

        private void CancelButton_Click(object sender, RoutedEventArgs e)
        {
            DialogResult = false;
        }

      

    }
}
